﻿using Abp.Application.Services;
using FwProject.Shop.Dto;
using FwProject.ShopApplication;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace FwProject.Shop
{
    public interface IShopProductTagAppService : IApplicationService
    {
        /// <summary>
        /// 获取添加该标签的商品数据
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="tagId"></param>
        /// <returns></returns>
        Task<LayerDataBaseDto> GetShopProductTagByTagid(int page, int limit,Guid tagId);

        /// <summary>
        /// 获取未添加该标签的商品数据
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="tagId"></param>
        /// <returns></returns>
        Task<LayerDataBaseDto> GetNotTagShopDataByTagid(int page, int limit, Guid tagId);

        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task CreateAsync(Guid tagid,string shopids);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteAsync(Guid id);
    }
}
